<link rel="stylesheet" type="text/css" href="{:CSS}datetimepicker.min.css">
<div class="row">
    <div class="row"><h3 class="page-header">立项申报管理<small>/<gt name='info.id' value='0'>修改<else/>添加</gt>竞赛立项申报信息</small></h3></div>
    <div class="panel panel-default">
        <div class="panel-body">
            <form role="form" id="myform" method="post"  class="form-horizontal">
                <table class="table table-striped table-bordered table-hover">
                    <thead>
                        <tr>
                            <th>竞赛名称：</th>
                            <th>
                                <input type="text" name="f1" class="form-control" value="{$info.f1}" />
                           </th>
                            <th>参赛项目：</th>
                            <th>
                                <input type="text" name="f2" class="form-control" value="{$info.f2}" />
                            </th>
                            <th>级  别：</th>
                            <th>
                                <select class="form-control" name="f3">
                                    <option>国家级</option>
                                    <option>省级</option>
                                    <option>校级</option>
                                    <option>系级</option>
                                </select>
                            </th>
                        </tr>
                        <tr>
                            <th >涉及课程：</th>
                            <th >
                                <input type="text" name="f5" class="form-control" value="{$info.f5}"/>
                            </th>
                            <th>起止时间：</th>
                            <th>
                                <label style="float:left;width:120px"><input class="form-control datepick required" name="f6" value="<empty name='info.f6'>{:date('Y-m-d')}<else/>{$info.f6}</empty>" readonly="readonly"></label>
                                <label style="float:left;text-align: center;margin:0 10px">_</label>
                                <label style="float:left;width:120px"><input class="form-control datepick required" name="f7" value="<empty name='info.f7'>{:date('Y-m-d')}<else/>{$info.f7}</empty>" readonly="readonly"></label>
                            </th>
                            <th>对应省级以<br>上竞赛情况：</th>
                            <th ><input type="text" name="f4" class="form-control" value="{$info.f4}" /></th>
                        </tr>
                          <tr>
                            <th>竞赛地点：</th>
                            <th><input type="text" name="f8" class="form-control" value="{$info.f8}"/></th>
                            <th>参赛对象：</th>
                            <th>
                                <input type="text" name="f9" class="form-control" value="{$info.f9}"/>
                            </th>
                             <th>预期人数：</th>
                            <th>
                                <input type="text" name="f10" class="form-control" value="{$info.f10}" />
                            </th>
                        </tr>
                        <tr>
                            <th>项目负责人：</th>
                            <th><input type="text" name="f11" class="form-control" value="{$info.f11}" /></th>
                            <th>电话：</th>
                            <th>
                                <input type="text" name="f12" class="form-control" value="{$info.f12}" />
                            </th>
                            <th>邮箱：</th>
                            <th>
                                <input type="text" name="f13" class="form-control" value="{$info.f13}" />
                            </th>
                        </tr>
                        <tr>
                         <th>组成人员：</th>

                            <th colspan="5">
                                <input type="text" name="f14" class="form-control" value="{$info.f14}" />
                            </th>
                        </tr>
                        <tr>
                            <th colspan="6" style="text-align:  center;">竞赛简介：</th>
                        </tr>
                        <tr>
                            <th colspan="6">
                                <textarea class="form-control" name="f15">{$info.f15}</textarea>
                            </th>
                        </tr>
                        <tr>
                            <th colspan="1" style="text-align: center;vertical-align: middle;">赛事方案：</th>
                            <th colspan="5">
                                <div class="uploadify-div">
                                    <notempty name='info.file'>
                                       <li>{$info.file}<input type="hidden" value="{$info.file}" name="file"><span style="color:blue;cursor:pointer;" class="uploadifyDel">删除</span></li>
                                   </notempty>
                              </div>
                            <button class="upload" data-type="file" type="button" id="upload">上传方案</button>
                            </th>
                        </tr>
                 </thead>
                </table>
                 <input type='hidden' name='id' value='{$info.id}'>
                   <div style="text-align:right;">
                       <div style="text-align:right;">
                           <button class="btn btn-primary" type="submit" style="margin-left: 10px; float: right;">提交</button>
                           <div style="width: 200px; float: right;">
                               <select class="form-control" name="act_type">
                                   <option value="save">仅保存</option>
                                   <option value="saveSubmit">保存并提交审核</option>
                               </select>
                           </div>
                       </div>
                    </div>
               </form>                     
            </div>
        </div>
    </div>
    <script type="text/javascript" src="{:JS}daterangepicker.min.js"></script>
<script type="text/javascript">
$(".datepick").datetimepicker({format : "yyyy-mm-dd", minView : 2, autoclose : true});
</script>